# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test01
# Description:  列表的定义
# Author:       98745
# Date:         2019/1/16
#-------------------------------------------------------------------------------

List_obj=[1,2,3,4,5,6]
print(type(List_obj))
print(List_obj)

#索引从0开始,正数从左边开始，负数从右边开始
List_obj1=['潘',45,'1997-09-10',10.0,20,'梧州','本科','广西','商',55]
'''print(List_obj1[-1])
print(List_obj1[0])'''

List2= List_obj1[0:3]
print(List2)

List3=List_obj1[-2:]
print(List3)

print('123')

